package avicit.bdp.dds.apc.dto;

import avicit.bdp.common.base.BaseDTO;
import avicit.platform6.core.annotation.log.FieldRemark;
import avicit.platform6.core.annotation.log.Id;
import avicit.platform6.core.annotation.log.LogField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * @金航数码科技有限责任公司
 * @作者：liyb
 * @邮箱：liyb@avic-digital.com
 * @创建时间：2021-04-26 14:55
 * @类说明：python包安装日志
 * @修改记录：
 */
@ApiModel(value = "PythonResourceLogDTO", description = "python包安装日志")
@Table(name = "bdp_prm_python_resource_log")
public class PythonResourceLogDTO extends BaseDTO {

    /**
     * 主键ID
     */
    @LogField
    @ApiModelProperty(value = "主键")
    @FieldRemark(column = "id", field = "id", name = "主键")
    @Column(name = "id")
    @Id
    @javax.persistence.Id
    private String id;

    /**
     * python资源ID
     */
    @LogField
    @ApiModelProperty(value = "python资源ID", name = "resId")
    @FieldRemark(column = "res_id", field = "resId", name = "python资源ID")
    private String resId;

    /**
     * worker节点
     */
    @LogField
    @ApiModelProperty(value = "worker节点", name = "worker")
    @FieldRemark(column = "worker", field = "worker", name = "worker节点")
    private String worker;

    /**
     * 日志内容
     */
    @LogField
    @ApiModelProperty(value = "日志内容", name = "context")
    @FieldRemark(column = "context", field = "context", name = "日志内容")
    private String context;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getResId() {
        return resId;
    }

    public void setResId(String resId) {
        this.resId = resId;
    }

    public String getWorker() {
        return worker;
    }

    public void setWorker(String worker) {
        this.worker = worker;
    }

    public String getContext() {
        return context;
    }

    public void setContext(String context) {
        this.context = context;
    }

}